package ckf.man.practice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ckf.man.practice.entity.DataStatus;
import ckf.man.practice.service.DataStatusService;
import ckf.man.practice.mapper.DataStatusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
* @author 昌凯枫
* @description 针对表【data_status】的数据库操作Service实现
* @createDate 2024-07-18 13:44:41
*/
@Service
public class DataStatusServiceImpl extends ServiceImpl<DataStatusMapper, DataStatus>
    implements DataStatusService{
    @Autowired
    private DataStatusMapper mapper;
    @Override
    public List<DataStatus> getByDataId(int data_id) {
        return mapper.selectAllByBaseDataId(data_id);
    }

}




